﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace Ones.Dal.Infrastructure
{
    public class PagingObject<obj> where obj : class
    {
        private List<obj> _data;

        private int _totalPage;

        public PagingObject()
        {
        }

        public List<obj> Data
        {
            get
            {
                return _data;
            }
            set
            {
                _data = value;
            }
        }

        public int TotalPage
        {
            get
            {
                return _totalPage;
            }
            set
            {
                _totalPage = value;
            }
        }
    }
}